export type FormItem = {
  label: string; //标签
  field: string; //域名
  rules?: object; //规则
  type?: string; //类型
  hidden?: boolean; //是否隐藏
  disabled?: boolean; //是否禁止
  options?: any[];
  value?: any;
};

export type FormDialogProps = {
  title?: string; // 弹框标题
  visible: boolean; //是否可见
  defaultParaVisible?: boolean;
  isDriveParaCalc?: boolean;
  columns: FormItem[]; //columns值
  disabled: boolean; // 是否允许
  initialValues?: object;
  onOk: () => void; //确认按钮
  onCancel: () => void; // 取消按钮
};
